//
//  SubScrollView.m
//  UI6_限时代码
//
//  Created by dllo on 15/11/16.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "SubScrollView.h"

@implementation SubScrollView

- (void)dealloc
{
    [_scrollV release];
    [_imageV release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    self.backgroundColor = [UIColor whiteColor];
   
    self.scrollV = [[UIScrollView alloc] initWithFrame:self.frame];
    [self addSubview:self.scrollV];
    [_scrollV release];
    
    self.imageV = [[UIImageView alloc] initWithFrame:self.frame];
    [self.scrollV addSubview:self.imageV];
    [_imageV release];

   
    
}

@end
